package com.example.demo.ip;

import net.dreamlu.mica.ip2region.core.Ip2regionSearcher;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;

public class GetLocaltion {
    @Resource
    private Ip2regionSearcher ip2regionSearcher;

    public static void main(String[] args) {
        String ip="192.168.200.61";
        /*System.out.println(ip2regionSearcher.getAddress(ip));*/
    }
}
